package com.healthy.education.mapper;

import java.util.List;
import com.healthy.education.domain.UserVideoViews;

/**
 * 视频观看记录Mapper接口
 * 
 * @author 束伟
 * @date 2024-03-29
 */
public interface UserVideoViewsMapper 
{
    /**
     * 查询视频观看记录
     * 
     * @param id 视频观看记录主键
     * @return 视频观看记录
     */
    public UserVideoViews selectUserVideoViewsById(Long id);

    /**
     * 查询视频观看记录列表
     * 
     * @param userVideoViews 视频观看记录
     * @return 视频观看记录集合
     */
    public List<UserVideoViews> selectUserVideoViewsList(UserVideoViews userVideoViews);

    /**
     * 新增视频观看记录
     * 
     * @param userVideoViews 视频观看记录
     * @return 结果
     */
    public int insertUserVideoViews(UserVideoViews userVideoViews);

    /**
     * 修改视频观看记录
     * 
     * @param userVideoViews 视频观看记录
     * @return 结果
     */
    public int updateUserVideoViews(UserVideoViews userVideoViews);

    /**
     * 删除视频观看记录
     * 
     * @param id 视频观看记录主键
     * @return 结果
     */
    public int deleteUserVideoViewsById(Long id);

    /**
     * 批量删除视频观看记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUserVideoViewsByIds(Long[] ids);
}
